Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: How to prevent WQO be triggered by event other than opening the form?
~Vanessa Prejipyterader 10.Mar.07 04:36 PM a Web browser
Domino Designer All Releases Windows XP


This is some code that I use in my close buttons on the web instead of @Command([FileCloseWindow]). As long as you are not passing in any parameters then EditDocument, OpenDocument or OpenForm will always be the last element of the array.

var url = window.location.href.split("?");

//check whether user has put document into edit mode from read mode
if (url[url.length - 1].toUpperCase() == "EDITDOCUMENT") {
window.history.go(-2);
} else {
window.history.go(-1);
}




How to prevent WQO be triggered by ... (~Tony Opresakon... 10.Mar.07)
. . RE: How to prevent WQO be triggered... (~Vanessa Prejip... 10.Mar.07)
. . RE: How to prevent WQO be triggered... (~Vijay Brehipic... 10.Mar.07)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS